Package com.cisco.pt.ipc.sim.impl
Class L2NatEntryImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.impl.L2NatEntryImpl
- All Implemented Interfaces:
IPCData,L2NatEntry
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetMask()intvoidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetActiveCount(int activeCount) voidsetDirection(int direction) voidvoidsetTotalCount(int totalCount) Methods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVector
-
Field Details
-
mask
-
activeCount
protected int activeCount -
totalCount
protected int totalCount -
direction
protected int direction
-
-
Constructor Details
-
L2NatEntryImpl
public L2NatEntryImpl()
-
-
Method Details
-
getMask
- Specified by:
getMaskin interfaceL2NatEntry- Returns:
- IPAddress Returns a IPAddress
-
setMask
- Specified by:
setMaskin interfaceL2NatEntry- Parameters:
mask- Takes in a parameter of mask
-
getActiveCount
public int getActiveCount()- Specified by:
getActiveCountin interfaceL2NatEntry- Returns:
- int Returns a int
-
setActiveCount
public void setActiveCount(int activeCount) - Specified by:
setActiveCountin interfaceL2NatEntry- Parameters:
activeCount- Takes in a parameter of activeCount
-
getTotalCount
public int getTotalCount()- Specified by:
getTotalCountin interfaceL2NatEntry- Returns:
- int Returns a int
-
setTotalCount
public void setTotalCount(int totalCount) - Specified by:
setTotalCountin interfaceL2NatEntry- Parameters:
totalCount- Takes in a parameter of totalCount
-
getDirection
public int getDirection()- Specified by:
getDirectionin interfaceL2NatEntry- Returns:
- int Returns a int
-
setDirection
public void setDirection(int direction) - Specified by:
setDirectionin interfaceL2NatEntry- Parameters:
direction- Takes in a parameter of direction
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Specified by:
readin classIPCDataImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-